#include<iostream>

using namespace std;

/**
 * @brief fits_bits
 * @param x - an integer
 * @param n - bits number
 * @return - 1 when x can be represented as an n-bit,
 *         2's complemet number; 0 otherwise;
 *
 * Assume 1 <= n <= w
 */
int fits_bits(int x, int n){
    return 0;
}
